<template>
  <div class="personal">
    <div class="header">
      <i class="iconfont icon-fanhui" @click="back"></i>
    </div>
    <div class="main">
      <div class="top">
        <div class="icon">
          <img src="../../assets/img/PS.png" alt>
        </div>
        <div class="topR">
          <div class="name">WOSHIA</div>
          <div class="nickname">昵称：听说</div>
          <div class="userID">ID：259263</div>
        </div>
      </div>
      <p class="remark" @click="setRemark">
        备注名
        <span>小米</span>
        <i class="iconfont icon-you"></i>
      </p>
    </div>
  </div>
</template>
<script>
export default {
  name: "personal",
  methods: {
    back() {
      this.$router.go(-1);
    },
    setRemark() {
      this.$router.push("/remark");
    }
  }
};
</script>
<style lang="stylus" scoped>
.personal {
  .header {
    height: 1rem;
    background: #FFF;

    i {
      position: relative;
      top: 15px;
      left: 5px;
      font-size: 25px;
    }
  }

  .main {
    background: #FFF;
    height: 2rem;
    padding-left: 15px;

    .top {
      width: 100%;
      height: 1.2rem;
      border-bottom: 1px solid rgba(182, 182, 182, 0.3);
      position: relative;

      .icon {
        width: 0.72rem;
        height: 0.72rem;
        display: inline-block;
        margin-right: 10px;
        position: absolute;
        top: 5px;
        left: 5px;

        img {
          width: 100%;
        }
      }

      .topR {
        position: absolute;
        top: 5px;
        left: 55px;

        .nickname {
          font-size: 12px;
          font-weight: 500;
          color: rgba(84, 84, 84, 1);
          margin: 5px 0;
        }

        .userID {
          font-size: 12px;
          color: rgba(54, 97, 151, 1);
        }
      }
    }

    .remark {
      line-height: 0.8rem;
      font-size: 14px;

      span {
        margin-left: 10px;
        color: rgba(84, 84, 84, 1);
      }

      i {
        float: right;
        margin-right: 10px;
      }
    }
  }
}
</style>


